#define  _CRT_SECURE_NO_WARNINGS

#include<string.h>

#include<stdio.h>


int fun(char* a)
{
    char arr[100] = { 0 };
    int i = 0, j = 0;
    while (*a == '*')
        arr[i++] = *a++;
    while (*a)
    {
        if (*a != '*')
        {
            arr[i++] = *a;
        }
        a++;
    }
    int len = strlen(arr);
    for (i = 0, j = 0; i < len; i++, j++)
        a[i] = arr[j];
    a[i] = '\0';

    return 0;
}

int main()
{
    char s[81];
    gets(s);
    fun(s);
    puts(s);
    return 0;
}